using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace M13
{
    public static class ResourceKey
    {
        public class ItemSprites
        {

            //Assets/Resources/Sprite/Item/Cudgel.png
            public static Sprite Cudgel { get;} = Resources.Load<Sprite>("Sprite/Item/Cudgel");

            //Assets/Resources/Sprite/Item/Stick.png
            public static Sprite Stick { get;} = Resources.Load<Sprite>("Sprite/Item/Stick");

            //Assets/Resources/Sprite/Item/Apple.png
            public static Sprite Apple { get;} = Resources.Load<Sprite>("Sprite/Item/Apple");

        }
        public class ItemModals
        {
            //Assets/Resources/Prefabs/Weapon/Cudgel.prefab
            public static GameObject Cudgel { get;} = Resources.Load<GameObject>("Prefabs/Weapon/Cudgel");
            //Assets/Resources/Prefabs/Item/Stick.prefab
            public static GameObject Stick { get; } = Resources.Load<GameObject>("Prefabs/Item/Stick");
            //Assets/Resources/Prefabs/Item/Apple.prefab
            public static GameObject Apple { get; } = Resources.Load<GameObject>("Prefabs/Item/Apple");
        }
        public class TurfMaterials
        {
            public static Material AirMat { get;} = null;
            public static Material WaterMat { get;} = Resources.Load("Materials/Turfs/water") as Material;
            public static Material GrassMat { get;} = Resources.Load("Materials/Turfs/grass") as Material;
            public static Material StoneMat { get;} = Resources.Load("Materials/Turfs/stone") as Material;
            public static Material SnowMat { get;} = Resources.Load("Materials/Turfs/snow") as Material;
            public static Material DioriteMat { get;} = Resources.Load("Materials/Turfs/diorite") as Material;
            public static Material SandMat { get;} = Resources.Load("Materials/Turfs/sand") as Material;
            public static Material[] Materials { get;} = new Material[] { AirMat, WaterMat, GrassMat, StoneMat, SnowMat, SandMat };
        }
    }
}